package com.mes.common.manager.iface;

import java.io.Serializable;
import java.util.Collection;

public interface IBasicManager<T> {

	public void add(T t) throws Exception;

	public void update(T t) throws Exception;

	public void delete(T t) throws Exception;
	
	public void save(T t) throws Exception;
	
	public T getById(Serializable id) throws Exception;
	
	public void add(Collection<T> collection) throws Exception;
	
	public void update(Collection<T> collection) throws Exception;
	
	public void delete(Collection<T> collection) throws Exception;
}
